package com.yx.feign.produce.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {
    @RequestMapping("/hello")
    public String produce(String name){
        System.out.println("From Consumer: " + name);
        return "hello " + name;
    }
}
